﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ScarletTest.Controllers
{
    public class BasicController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }

        public string UseTrans()
        {
            DateTime begin = DateTime.Now;

            DateTime end = DateTime.Now;
            return (begin - end).ToString();
        }

        public string UseForeach()
        {
            DateTime begin = DateTime.Now;

            DateTime end = DateTime.Now;
            return (begin - end).ToString();
        }





    }
}
